package com.yourwork.service;

import org.springframework.data.domain.Page;

import com.yourwork.model.Spending;

public interface SpendingService {
	//查询费用
	public Page<Spending> queryExpense(int page, int size);
	//查询费用总条数
	public int countExpense();
	//添加支出记录
	public String insertExpense(Spending expense);
	//最大页数
	public int queryMaxPage(int page, int size);
	//总的支出
	public double querySumMoney();

}
